/**
 * Created by xxcao on 2017/6/15.
 */


var express = require('express');
var router = express.Router();
var util = require('../util/util');
var newsDao = require('../dao/newsDao');

//获取动态
router.get('/get', function(req, res, next) {
    if(util.removeFavicon(req,res)) {
        util.logInfo(0, 'news/get', 'GET', req.query);
        newsDao.get(req, res, next);
    }
});

module.exports = router;